/**
  ******************************************************************************
  * @file           : gui_asclib.h
  * @brief          : Header for gui_asclib.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

#ifndef  __GUI_ASCLIB_H_
#define  __GUI_ASCLIB_H_

#include "parameter.h"

extern const char gui_asc_null[];

extern const char gui_asc_general_unit_s[];
extern const char gui_asc_general_unit_mps[];
extern const char gui_asc_general_unit_ms[];
extern const char gui_asc_general_unit_m[];
extern const char gui_asc_general_unit_mm[];
extern const char gui_asc_general_unit_g[];
extern const char gui_asc_general_unit_gpm[];
extern const char gui_asc_general_unit_kg[];
extern const char gui_asc_general_unit_kgm[];
extern const char gui_asc_general_unit_t[];
extern const char gui_asc_general_unit_th[];
extern const char gui_asc_temper[];

extern const char gui_asc_parainputerr[];
extern const char gui_asc_paradisptime[];
extern const char gui_asc_paradispdata[];
extern const char gui_asc_calzeroready_pdzq[];
extern const char gui_asc_calzeroready_pdzc[];
extern const char gui_asc_calzeroready_0d0f[];
extern const char gui_asc_calzeroready_dyb[];
extern const char gui_asc_len_circle_mode_time[];
extern const char gui_asc_len_circle_mode_length[];
extern const char gui_asc_len_circle_mode_ng[];
extern const char gui_asc_len_circle_mode_sc[];
extern const char gui_asc_len_circle_mode_on[];
extern const char gui_asc_len_circle_mode_off[];
extern const char gui_asc_len_circle_mode_yes[];
extern const char gui_asc_len_circle_mode_no[];

extern const char gui_asc_wt1sensorcode[];
extern const char gui_asc_wt2sensorcode[];
extern const char gui_asc_wt3sensorcode[];
extern const char gui_asc_wt4sensorcode[];

extern const char gui_asc_cpuruntime[];
extern const char gui_asc_errcode[];
extern const char gui_asc_pv[];
extern const char gui_asc_sv[];
extern const char gui_asc_sn[];
extern const char gui_asc_bd[];
extern const char gui_asc_uv[];
extern const char gui_asc_wad[];
extern const char gui_asc_sad[];
extern const char gui_asc_zeroad[];
extern const char gui_asc_liuliang[];
extern const char gui_asc_zaihe[];
extern const char gui_asc_sudu[];
extern const char gui_asc_yearacc[];
extern const char gui_asc_monthacc[];
extern const char gui_asc_dayacc[];
extern const char gui_asc_houracc[];
extern const char gui_asc_intvacc[];
extern const char gui_asc_classacc[];
extern const char gui_asc_clagmlll[];
extern const char gui_asc_claswsjl[];

extern const char gui_asc_address[];
extern const char gui_asc_wtsensor01[];
extern const char gui_asc_wtsensor02[];
extern const char gui_asc_wtsensor03[];
extern const char gui_asc_wtsensor04[];
extern const char gui_asc_spdsensor[];
extern const char gui_asc_wtrange[];
extern const char gui_asc_spdgears[];
extern const char gui_asc_spdiameter[];

extern const char gui_asc_msg00[];
extern const char gui_asc_msg01[];
extern const char gui_asc_msg02[];
extern const char gui_asc_msg03[];
extern const char gui_asc_msg04[];

extern const char gui_asc_jbsz[];
extern const char gui_asc_jlsz[];
extern const char gui_asc_ljsz[];
extern const char gui_asc_xssz[];
extern const char gui_asc_jksz[];
extern const char gui_asc_qtsz[];
extern const char gui_asc_tssz[];
extern const char gui_asc_wlsz[];
extern const char gui_asc_jysz[];
extern const char gui_asc_tlsz[];
extern const char gui_asc_gmjy[];
extern const char gui_asc_swjy[];

extern const char sto_fixstr_namestr(main_display_pos1)[];       /* 首页位置1显示 0班累计 1日累计 2月累计 3年累计 */
extern const char sto_fixstr_namestr(main_display_pos2)[];       /* 首页位置2显示 0流量 1载荷 2速度 */
extern const char sto_fixstr_namestr(refresh_rate)[];            /* 显示刷新率 1~20 */
extern const char sto_fixstr_namestr(local_number)[];            /* 本机编号 */
extern const char sto_fixstr_namestr(measuring_range_tph)[];         /* 量程 t/h */
extern const char sto_fixstr_namestr(para_display_time)[];       /* 仅参数显示-时间 */
extern const char sto_fixstr_namestr(para_display_date)[];       /* 仅参数显示-日期 */
extern const char sto_fixstr_namestr(division_kg)[];                /* 累计分度值 kg STO_MTIDX_divisionenum */
extern const char sto_fixstr_namestr(num_of_class)[];            /* 当日班数 */
extern const char sto_fixstr_namestr(auto_zero_range)[];         /* 自动调零强度 */
extern const char sto_fixstr_namestr(manu_zero_range)[];         /* 手动调零强度 */
extern const char sto_fixstr_namestr(speed_low_limit)[];         /* 实测速度内码下限 */
extern const char sto_fixstr_namestr(flowrate_lowlim_kgh)[];     /* 有效流量下限 t/h */
extern const char sto_fixstr_namestr(weight_pulse_wide)[];       /* 定量脉冲开关及宽度 ms */
extern const char sto_fixstr_namestr(weight_pulse_set_kg)[];        /* 定量重量设定 kg */
extern const char sto_fixstr_namestr(len_circle_mode)[];         /* 整圈方式 */
extern const char sto_fixstr_namestr(belt_period_0d01s)[];       /* 皮带周期 0.1s */
extern const char sto_fixstr_namestr(belt_length_mm)[];          /* 皮带周长 mm */
extern const char sto_fixstr_namestr(effect_length_mm)[];        /* 称量长度 mm */
extern const char sto_fixstr_namestr(speed_wheel_cir_0d1mm)[];   /* 测速轮周长 0.1mm */
extern const char sto_fixstr_namestr(speed_wheel_pls)[];         /* 测速轮每周脉冲 */
extern const char sto_fixstr_namestr(ao1_zero_code)[];           /* ao1零点内码(pwm值)[]*/
extern const char sto_fixstr_namestr(ao1_full_code)[];           /* ao1满度内码(pwm值)[]*/
extern const char sto_fixstr_namestr(ao2_zero_code)[];           /* ao2零点内码(pwm值)[]*/
extern const char sto_fixstr_namestr(ao2_full_code)[];           /* ao2满度内码(pwm值)[]*/
extern const char sto_fixstr_namestr(zero_code_uplimit)[];       /* 零点内码上限 */
extern const char sto_fixstr_namestr(zero_code_ave)[];           /* 零点总平均内码 */
extern const char sto_fixstr_namestr(factor_correct_enable)[];   /* 系数修正使能 */
extern const char sto_fixstr_namestr(weight_factor_base)[];      /* 称量系数基础值 */
extern const char sto_fixstr_namestr(weight_factor01)[];         /* 称量系数修正01 (  >1600   t/h)[]*/
extern const char sto_fixstr_namestr(weight_factor02)[];         /* 称量系数修正02 (1200~1600 t/h)[]*/
extern const char sto_fixstr_namestr(weight_factor03)[];         /* 称量系数修正03 (800~1200  t/h)[]*/
extern const char sto_fixstr_namestr(weight_factor04)[];         /* 称量系数修正04 (400~800   t/h)[]*/
extern const char sto_fixstr_namestr(weight_factor05)[];         /* 称量系数修正05 (  <400    t/h)[]*/
extern const char sto_fixstr_namestr(cal_fama_weight_0d1g)[];    /* 校验砝码重量 g */
extern const char sto_fixstr_namestr(cal_shiwu_weight_kg)[];     /* 校验实物重量 kg */
extern const char sto_fixstr_namestr(cal_shiwu_wtacc)[];         /* 校验实物重量是否计入产量 */
extern const char sto_fixstr_namestr(cal_lianma_denser_0d1gpm)[];       /* 校验链码密度 g/m */
extern const char sto_fixstr_namestr(wad_preset_value)[];        /* 重量内码内给值 */
extern const char sto_fixstr_namestr(wad_preset_enable)[];       /* 重量内码内给开关 */
extern const char sto_fixstr_namestr(sad_preset_value)[];        /* 速度内码内给值 */
extern const char sto_fixstr_namestr(sad_preset_enable)[];       /* 速度内码内给开关 */
extern const char sto_fixstr_namestr(spd_sensor_addr)[];
extern const char sto_fixstr_namestr(wt1_sensor_addr)[];
extern const char sto_fixstr_namestr(wt2_sensor_addr)[];
extern const char sto_fixstr_namestr(wt3_sensor_addr)[];
extern const char sto_fixstr_namestr(wt4_sensor_addr)[];
extern const char sto_fixstr_namestr(year_begin_zero)[];         /* 年累计起始点 */
extern const char sto_fixstr_namestr(month_begin_zero)[];        /* 月累计起始点 */
extern const char sto_fixstr_namestr(day_begin_zero)[];          /* 日累计起始点 */
extern const char sto_fixstr_namestr(acc_class01_start_time)[];      /* 班01累计起时 */
extern const char sto_fixstr_namestr(acc_class02_start_time)[];      /* 班02累计起时 */
extern const char sto_fixstr_namestr(acc_class03_start_time)[];      /* 班03累计起时 */
extern const char sto_fixstr_namestr(acc_class04_start_time)[];      /* 班04累计起时 */
extern const char sto_fixstr_namestr(total_last_switch)[];       /* 上次总累计清零切换日期 */
extern const char sto_fixstr_namestr(year_last_switch)[];        /* 上次年累计清零切换日期 */
extern const char sto_fixstr_namestr(month_last_switch)[];       /* 上次月累计清零切换日期 */
extern const char sto_fixstr_namestr(day_last_switch)[];         /* 上次日累计清零切换日期 */
extern const char sto_fixstr_namestr(hour_last_switch)[];        /* 上次时累计清零切换日期 */
extern const char sto_fixstr_namestr(class_last_switch)[];       /* 上次班累计清零切换日期 */
extern const char sto_fixstr_namestr(total_acc_0d1g)[];        /* 总累计 */
extern const char sto_fixstr_namestr(year_acc_0d1g)[];         /* 年累计 */
extern const char sto_fixstr_namestr(month_acc_0d1g)[];        /* 月累计 */
extern const char sto_fixstr_namestr(day_acc_0d1g)[];          /* 日累计 */
extern const char sto_fixstr_namestr(hour_acc_0d1g)[];         /* 时累计 */
extern const char sto_fixstr_namestr(pulse_acc_0d1g)[];        /* 脉冲累计 */
extern const char sto_fixstr_namestr(class01_acc_0d1g)[];      /* 班01累计 */
extern const char sto_fixstr_namestr(class02_acc_0d1g)[];      /* 班02累计 */
extern const char sto_fixstr_namestr(class03_acc_0d1g)[];      /* 班03累计 */
extern const char sto_fixstr_namestr(class04_acc_0d1g)[];      /* 班04累计 */
extern const char sto_fixstr_namestr(acc_all_clear)[];         /* 累计全部清零 仅显示 不存储 */
extern const char sto_fixstr_namestr(total_acc_last_0d1g)[];   /* 总累计_上次 */
extern const char sto_fixstr_namestr(year_acc_last_0d1g)[];    /* 年累计_上次 */
extern const char sto_fixstr_namestr(month_acc_last_0d1g)[];   /* 月累计_上次 */
extern const char sto_fixstr_namestr(day_acc_last_0d1g)[];     /* 日累计_上次 */
extern const char sto_fixstr_namestr(hour_acc_last_0d1g)[];    /* 时累计_上次 */
extern const char sto_fixstr_namestr(class01_acc_last_0d1g)[]; /* 班01累计_上次 */
extern const char sto_fixstr_namestr(class02_acc_last_0d1g)[]; /* 班02累计_上次 */
extern const char sto_fixstr_namestr(class03_acc_last_0d1g)[]; /* 班03累计_上次 */
extern const char sto_fixstr_namestr(class04_acc_last_0d1g)[]; /* 班04累计_上次 */
extern const char sto_fixstr_namestr(prod_city_num)[];               /* 市名/编号 */
extern const char sto_fixstr_namestr(prod_county_num)[];             /* 县名/编号 */
extern const char sto_fixstr_namestr(prod_mines_num)[];              /* 矿名/编号 */
extern const char sto_fixstr_namestr(prod_year_capacity_t)[];        /* 核定年生产能力 */
extern const char sto_fixstr_namestr(prod_month_capacity_t)[];       /* 核定月生产能力 */
extern const char sto_fixstr_namestr(prod_day_capacity_t)[];         /* 核定日生产能力 */
extern const char sto_fixstr_namestr(prod_hour_capacity_t)[];        /* 核定时生产能力 */
extern const char sto_fixstr_namestr(prod_interval_time_s)[];        /* 间隔参量时间 也是上传时间 s */
extern const char sto_fixstr_namestr(prod_net_timeout_s)[];          /* 产量网络发送超时时间 s */
extern const char sto_fixstr_namestr(eth_local_ip)[];                /* 本机IP  u8x4 */
extern const char sto_fixstr_namestr(eth_local_gw)[];                /* 网关    u8x4 */
extern const char sto_fixstr_namestr(eth_local_msk)[];               /* 子网掩码 u8x4 */
extern const char sto_fixstr_namestr(eth_local_mac)[];               /* 本机MAC u8x6 */
extern const char sto_fixstr_namestr(eth_produp_ip)[];               /* 间隔参量上传 目标服务器ip u8x4 */
extern const char sto_fixstr_namestr(eth_prodrt_ip)[];               /* 实时参量上传 目标服务器ip u8x4 */
extern const char sto_fixstr_namestr(eth_mbtcp_ip)[];                /* modbusTCP  目标服务器ip u8x4 */
extern const char sto_fixstr_namestr(eth_produp_port)[];             /* 间隔参量上传 目标服务器端口 */
extern const char sto_fixstr_namestr(eth_prodrt_port)[];             /* 实时参量上传 目标服务器端口 */
extern const char sto_fixstr_namestr(eth_mbtcp_prot)[];              /* modbusTCP  目标服务器端口 */


extern const char sto_fixstr_briefstr(main_display_pos1)[];             /* 首页位置1显示 0班累计 1日累计 2月累计 3年累计 */
extern const char sto_fixstr_briefstr(main_display_pos2)[];             /* 首页位置2显示 0流量 1载荷 2速度 */
extern const char sto_fixstr_briefstr(refresh_rate)[];                   /* 显示刷新率 1~20 */
extern const char sto_fixstr_briefstr(local_number)[];            /* 本机编号 */
extern const char sto_fixstr_briefstr(measuring_range_tph)[];         /* 量程 t/h */
extern const char sto_fixstr_briefstr(para_display_time)[];       /* 仅参数显示-日期 */
extern const char sto_fixstr_briefstr(para_display_date)[];       /* 仅参数显示-时间 */
extern const char sto_fixstr_briefstr(division_kg)[];                /* 累计分度值 kg STO_MTIDX_divisionenum */
extern const char sto_fixstr_briefstr(auto_zero_range)[];         /* 自动调零强度 */
extern const char sto_fixstr_briefstr(manu_zero_range)[];         /* 手动调零强度 */
extern const char sto_fixstr_briefstr(speed_low_limit)[];         /* 实测速度内码下限 */
extern const char sto_fixstr_briefstr(flowrate_lowlim_kgh)[];     /* 有效流量下限 t/h */
extern const char sto_fixstr_briefstr(weight_pulse_wide)[];       /* 定量脉冲开关及宽度 ms */
extern const char sto_fixstr_briefstr(weight_pulse_set_kg)[];        /* 定量重量设定 kg */
extern const char sto_fixstr_briefstr(len_circle_mode)[];         /* 整圈方式 */
extern const char sto_fixstr_briefstr(belt_period_0d01s)[];       /* 皮带周期 0.1s */
extern const char sto_fixstr_briefstr(belt_length_mm)[];          /* 皮带周长 mm */
extern const char sto_fixstr_briefstr(effect_length_mm)[];        /* 称量长度 mm */
extern const char sto_fixstr_briefstr(speed_wheel_cir_0d1mm)[];   /* 测速轮周长 0.1mm */
extern const char sto_fixstr_briefstr(speed_wheel_pls)[];         /* 测速轮每周脉冲 */
extern const char sto_fixstr_briefstr(ao1_zero_code)[];           /* ao1零点内码(pwm值)[]*/
extern const char sto_fixstr_briefstr(ao1_full_code)[];           /* ao1满度内码(pwm值)[]*/
extern const char sto_fixstr_briefstr(ao2_zero_code)[];           /* ao2零点内码(pwm值)[]*/
extern const char sto_fixstr_briefstr(ao2_full_code)[];           /* ao2满度内码(pwm值)[]*/
extern const char sto_fixstr_briefstr(zero_code_uplimit)[];       /* 零点内码上限 */
extern const char sto_fixstr_briefstr(zero_code_ave)[];           /* 零点总平均内码 */
extern const char sto_fixstr_briefstr(factor_correct_enable)[];   /* 系数修正使能 */
extern const char sto_fixstr_briefstr(weight_factor_base)[];      /* 称量系数基础值 */
extern const char sto_fixstr_briefstr(weight_factor01)[];         /* 称量系数修正01 (  >1600   t/h)[]*/
extern const char sto_fixstr_briefstr(weight_factor02)[];         /* 称量系数修正02 (1200~1600 t/h)[]*/
extern const char sto_fixstr_briefstr(weight_factor03)[];         /* 称量系数修正03 (800~1200  t/h)[]*/
extern const char sto_fixstr_briefstr(weight_factor04)[];         /* 称量系数修正04 (400~800   t/h)[]*/
extern const char sto_fixstr_briefstr(weight_factor05)[];         /* 称量系数修正05 (  <400    t/h)[]*/
extern const char sto_fixstr_briefstr(cal_fama_weight_0d1g)[];    /* 校验砝码重量 g */
extern const char sto_fixstr_briefstr(cal_shiwu_weight_kg)[];     /* 校验实物重量 kg */
extern const char sto_fixstr_briefstr(cal_shiwu_wtacc)[];         /* 校验实物重量是否计入产量 */
extern const char sto_fixstr_briefstr(cal_lianma_denser_0d1gpm)[];       /* 校验链码密度 g/m */
extern const char sto_fixstr_briefstr(wad_preset_value)[];        /* 重量内码内给值 */
extern const char sto_fixstr_briefstr(wad_preset_enable)[];       /* 重量内码内给开关 */
extern const char sto_fixstr_briefstr(sad_preset_value)[];        /* 速度内码内给值 */
extern const char sto_fixstr_briefstr(sad_preset_enable)[];       /* 速度内码内给开关 */
extern const char sto_fixstr_briefstr(spd_sensor_addr)[];
extern const char sto_fixstr_briefstr(wt1_sensor_addr)[];
extern const char sto_fixstr_briefstr(wt2_sensor_addr)[];
extern const char sto_fixstr_briefstr(wt3_sensor_addr)[];
extern const char sto_fixstr_briefstr(wt4_sensor_addr)[];
extern const char sto_fixstr_briefstr(year_begin_zero)[];         /* 年累计起始点 */
extern const char sto_fixstr_briefstr(month_begin_zero)[];        /* 月累计起始点 */
extern const char sto_fixstr_briefstr(day_begin_zero)[];          /* 日累计起始点 */
extern const char sto_fixstr_briefstr(acc_class01_start_time)[];      /* 班01累计起时 */
extern const char sto_fixstr_briefstr(acc_class02_start_time)[];     /* 班02累计起时 */
extern const char sto_fixstr_briefstr(acc_class03_start_time)[];     /* 班03累计起时 */
extern const char sto_fixstr_briefstr(acc_class04_start_time)[];      /* 班04累计起时 */
extern const char sto_fixstr_briefstr(total_last_switch)[];       /* 上次总累计清零切换日期 */
extern const char sto_fixstr_briefstr(year_last_switch)[];        /* 上次年累计清零切换日期 */
extern const char sto_fixstr_briefstr(month_last_switch)[];       /* 上次月累计清零切换日期 */
extern const char sto_fixstr_briefstr(day_last_switch)[];         /* 上次日累计清零切换日期 */
extern const char sto_fixstr_briefstr(hour_last_switch)[];        /* 上次时累计清零切换日期 */
extern const char sto_fixstr_briefstr(class_last_switch)[];       /* 上次班累计清零切换日期 */
extern const char sto_fixstr_briefstr(total_acc_0d1g)[];        /* 总累计 */
extern const char sto_fixstr_briefstr(year_acc_0d1g)[];         /* 年累计 */
extern const char sto_fixstr_briefstr(month_acc_0d1g)[];        /* 月累计 */
extern const char sto_fixstr_briefstr(day_acc_0d1g)[];          /* 日累计 */
extern const char sto_fixstr_briefstr(hour_acc_0d1g)[];         /* 时累计 */
extern const char sto_fixstr_briefstr(pulse_acc_0d1g)[];        /* 脉冲累计 */
extern const char sto_fixstr_briefstr(class01_acc_0d1g)[];      /* 班01累计 */
extern const char sto_fixstr_briefstr(class02_acc_0d1g)[];      /* 班02累计 */
extern const char sto_fixstr_briefstr(class03_acc_0d1g)[];      /* 班03累计 */
extern const char sto_fixstr_briefstr(class04_acc_0d1g)[];      /* 班04累计 */
extern const char sto_fixstr_briefstr(acc_all_clear)[];         /* 累计全部清零 仅显示 不存储 */
extern const char sto_fixstr_briefstr(total_acc_last_0d1g)[];   /* 总累计_上次 */
extern const char sto_fixstr_briefstr(year_acc_last_0d1g)[];    /* 年累计_上次 */
extern const char sto_fixstr_briefstr(month_acc_last_0d1g)[];   /* 月累计_上次 */
extern const char sto_fixstr_briefstr(day_acc_last_0d1g)[];     /* 日累计_上次 */
extern const char sto_fixstr_briefstr(hour_acc_last_0d1g)[];    /* 时累计_上次 */
extern const char sto_fixstr_briefstr(class01_acc_last_0d1g)[]; /* 班01累计_上次 */
extern const char sto_fixstr_briefstr(class02_acc_last_0d1g)[]; /* 班02累计_上次 */
extern const char sto_fixstr_briefstr(class03_acc_last_0d1g)[]; /* 班03累计_上次 */
extern const char sto_fixstr_briefstr(class04_acc_last_0d1g)[]; /* 班04累计_上次 */
extern const char sto_fixstr_briefstr(prod_city_num)[];         /* 市名/编号 */
extern const char sto_fixstr_briefstr(prod_county_num)[];       /* 县名/编号 */
extern const char sto_fixstr_briefstr(prod_mines_num)[];        /* 矿名/编号 */
extern const char sto_fixstr_briefstr(prod_year_capacity_t)[];  /* 核定年生产能力 */
extern const char sto_fixstr_briefstr(prod_month_capacity_t)[]; /* 核定月生产能力 */
extern const char sto_fixstr_briefstr(prod_day_capacity_t)[];   /* 核定日生产能力 */
extern const char sto_fixstr_briefstr(prod_hour_capacity_t)[];  /* 核定时生产能力 */
extern const char sto_fixstr_briefstr(prod_interval_time_s)[];  /* 间隔参量时间 也是上传时间 s */
extern const char sto_fixstr_briefstr(prod_net_timeout_s)[];    /* 产量网络发送超时时间 s */
extern const char sto_fixstr_briefstr(eth_local_ip)[];          /* 本机IP  u8x4 */
extern const char sto_fixstr_briefstr(eth_local_gw)[];          /* 网关    u8x4 */
extern const char sto_fixstr_briefstr(eth_local_msk)[];         /* 子网掩码 u8x4 */
extern const char sto_fixstr_briefstr(eth_local_mac)[];         /* 本机MAC u8x6 */
extern const char sto_fixstr_briefstr(eth_produp_ip)[];         /* 间隔参量上传 目标服务器ip u8x4 */
extern const char sto_fixstr_briefstr(eth_prodrt_ip)[];         /* 实时参量上传 目标服务器ip u8x4 */
extern const char sto_fixstr_briefstr(eth_mbtcp_ip)[];          /* modbusTCP  目标服务器ip u8x4 */
extern const char sto_fixstr_briefstr(eth_produp_port)[];       /* 间隔参量上传 目标服务器端口 */
extern const char sto_fixstr_briefstr(eth_prodrt_port)[];       /* 实时参量上传 目标服务器端口 */
extern const char sto_fixstr_briefstr(eth_mbtcp_prot)[];        /* modbusTCP  目标服务器端口 */

#endif /* __GUI_ASCLIB_H_ */
